﻿using EWSEditor.Exchange;
using EWSEditor.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace EWSEditor.CRM.Forms
{
    public partial class CrmServiceForm : DialogForm
    {
        public CrmServiceForm()
        {
            InitializeComponent();
        }

        private void btnSignIn_Click(object sender, EventArgs e)
        {
            EnsureAddressMatch();
            CrmAuthInfo crmauth = new CrmAuthInfo(txtbxUsername.Text, txtbxPassword.Text, null, txtbxOrgUrl.Text, txtTarget.Text);
        }

        private void EnsureAddressMatch()
        {
            
        }
    }
}
